<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎登录后台管理系统--模板之家 www.cssmoban.com</title>
<link href="/static/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="/static/js/jquery.js"></script>
<script src="/static/js/cloud.js" type="text/javascript"></script>

<script language="javascript">
	$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
});  
</script> 

</head>



<body style="background-color:#1c77ac; background-image:url(images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">



    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div>  


<div class="logintop">    
    <span>欢迎登录鹏晨天下集团管理界面平台</span>    
    <ul>
    <li><font color="" >社交软件进行登录：</font><a href="{:url('index/qqlogin')}"><img src="/static/QQ1.png" alt="" /></a>&nbsp;&nbsp;<a href=""><img src="/static/微博.png" alt="" width="18px" height="18px" /></a>&nbsp;&nbsp;<a href=""><img src="/static/微信.png" alt="" width="18px" height="18px"/></a></li>
    <li><a href="#">回首页</a></li>
    <li><a href="#">帮助</a></li>
    <li><a href="#">关于</a></li>
    <li><a href="{:url('zhuce/zhuce')}">注册页面</a></li>
    </ul>    
    </div>
    
    <div class="loginbody">
    
    <span class="systemlogo"></span> 
       
    <div class="loginbox">
    
   <form action="{:url('index/login')}" method="post">

    <ul>
    <li><input name="name" type="text" class="loginuser"    id="name"  onblur="Check()"/><span id="user" ></span></li>
    <li><input name="pwd" type="password" class="loginpwd"   id="pwd"  onblur="Pwd()"/><span id="pwds"></span></li>
    <li><input name="" type="submit" class="loginbtn" value="登录"    onclick="return Er()"/><label><input name="" type="checkbox" value="" checked="checked" />记住密码</label><label><a href="#">忘记密码？</a></label></li>
   
   
    </ul>
    
    </form>

    </div>
    
    </div>
    
    
    
    <div class="loginbm">版权所有  归鹏晨天下集团管理</div>
</body>
</html>

<script src="/statics/jq.js"></script>
<script>
  function Check(){
    var vi = document.getElementById("name").value;
  if(vi.trim().length==0){
  $("#user").html("<span><font color='red'>请输入用户名</font></span>");
  return false;
  }else{
    $("#user").html("<span><font color='green'>输入正确</font></span>");
    return true;
  }  
}

function Pwd(){
    var vi = document.getElementById("pwd").value;
  if(vi.trim().length==0){
  $("#pwds").html("<span><font color='red'>请输入密码</font></span>");
  return false;
  }else{
    $("#pwds").html("<span><font color='green'>输入正确</font></span>");
    return true;
  }  
}

function Er(){
    if (Cherk() && Pwd()) {
        return true;
    }else{
        return false;
    }
}

</script>
